import salary from '../utils/requestsalary'

// 全查员工薪资档案的请求
export function Employee_file(payload = {}) {
    return salary.get('/api/findchivs',  {params:payload} )
}
// 添加创建薪资核算的请求
export function addSar(payload = {}) {
    return salary.post('/api/addSar',payload)
}
// 核对算薪人员界面查询的请求
export function salary_project(payload = {}) {
    return salary.get('/api/salary_project',  {params:payload} )
}
// 通过月份查询核算表内容的请求
export function findbymonth(payload = {}) {
    return salary.get('/api/findbymonth',  {params:payload} )
}
// 薪酬人员界面删除的请求
export function deletesar(payload = {}) {
    return salary.get('/api/deletesar',  {params:payload} )
}
// 新增薪资核算第二页选择的请求
export function findbystatus(payload = {}) {
    return salary.get('/api/findbystatus',  {params:payload})
}
// 全查新增薪资核算第三页的请求
export function findathermon(payload = {}) {
    return salary.get('/api/findathermon',  {params:payload} )
}
// 新增薪资核算第三页删除的请求
export function deletetar(payload = {}) {
    return salary.get('/api/deletetar',  {params:payload} )
}
// 全查新增薪资核算第三页（通过工号查询）的请求
export function findathermonbyid(payload = {}) {
    return salary.get('/api/findathermonbyid',  {params:payload} )
}
// 通过工号查询员工薪资档案的请求
export function salaryproject(payload = {}) {
    return salary.get('/api/salaryproject',  {params:payload} )
}
// 全查薪资项目表的请求
export function findAlitem(payload = {}) {
    return salary.get('/api/findAlitem',  {params:payload} )
}
// 薪资组列表的请求
export function findallgop(payload = {}) {
    return salary.get('/api/findallgop',  {params:payload} )
}
// 薪资组列表新增的请求
export function addgrop(payload = {}) {
    return salary.post('/api/addgrop', payload )
}
// 薪资组列表新增的请求
export function delgopbyjid(payload = {}) {
    return salary.get('/api/delgopbyjid', {params:payload} )
}